package com.example.behaviour.message;

import com.example.behaviour.pojos.Message;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LatestMsgListResponseMessage extends com.example.behaviour.message.Message{

    private List<Message> messageList;
    private String msg = "返回了最新的消息列表";

    @Override
    public int getMessageType() {
        return LatestMsgListResponseMessage;
    }
}
